﻿using System.ComponentModel.Composition;
using OPSYS_Schematic.BussinessLogic;
using OPSYS_Schematic.ShapeFoundation;
using OPSYS_Schematic.UIInfrastructure;

namespace OPSYS_Schematic.Presentation.ViewModels
{
    [DockScreen(Type = DockType.Document)]
    public class TestDocumentViewModel : AvalonDockScreen, IDockDocumentScreen
    {
        [Import]
        public IDesignerViewManager DesignerViewManager { get; set; }
        public TestDocumentViewModel()
            : base(WorkbenchName.DesignerScreen)
        {
        }
        public ShapeCanvas ShapeCanvas
        {
            get { return (ShapeCanvas)DesignerViewManager.SecondShapeView; }
        }
    }
}